package com.hbnu.pojo;


import java.util.Date;

public class Record {
    private Integer id;
    private Integer student_id;
    private Date date;
    private  String remark;
    private Integer disabled;
    private User user;

    public Record(Integer id, Integer student_id, Date date, String remark, Integer disabled) {
        this.id = id;
        this.student_id = student_id;
        this.date = date;
        this.remark = remark;
        this.disabled = disabled;
    }

    public Record() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudent_id() {
        return student_id;
    }

    public void setStudent_id(Integer student_id) {
        this.student_id = student_id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    @Override
    public String toString() {
        return "Record{" +
                "id=" + id +
                ", student_id=" + student_id +
                ", date=" + date +
                ", remark='" + remark + '\'' +
                ", disabled=" + disabled +
                '}';
    }

    public void setUser(User user) {
        this.user = user;
    }

    public User getUser() {
        return user;
    }
}
